#include <stdio.h>

int main(int argc, char *argv[]) {

    int n, m;
    while (scanf("%d %d",&n,&m)!=EOF)
    {
        printf("%d\n", n + m);
    }
    

    return 0;
}